﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SharedGenomics.Domain
{
    /// <summary>
    /// Represents a Kegg pathway returned from the Taverna service
    /// </summary>
    [Serializable]
    public class KeggPathway
    {
        private string id;
        private string name;

        public KeggPathway(string id)
        {
            this.id = id;
        }

        public string Id
        {
            get { return id; }
            set { id = value; }
        }

        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        public int KeggId { get; set; }

        public override string ToString()
        {
            return String.Format("{0} ({1})", Id, Name);
        }
    }
}
